package view.MainWindow.Conponents;

import view.Interface.button.ClickEventHandler;
import view.Interface.button.CustomButton;

import javax.swing.*;

public class ButtonPanel extends JPanel {

    public boolean status;
    CustomButton button;
    public ButtonPanel(String texts,ClickEventHandler handler){
        button = new CustomButton(texts);
        button.setOnClickListener(handler);
    }

}
